package com.itheima.zuoye.zuoye3;

import java.io.*;
import java.util.ArrayList;
import java.util.List;

public class Test {
    public static void main(String[] args) {
        try(
              BufferedReader br = new BufferedReader(new FileReader("D:\\java-base-ws\\JavaAdvanceProject\\day14_IO\\src\\com\\itheima\\zuoye\\zuoye3\\questions.txt"));
              BufferedWriter bw = new BufferedWriter(new FileWriter("D:\\java-base-ws\\JavaAdvanceProject\\day14_IO\\src\\com\\itheima\\zuoye\\zuoye3\\results.txt"));
                ){
            String line = null;
            while((line = br.readLine()) != null){
                System.out.println( line);

            }

        } catch (FileNotFoundException e) {
            throw new RuntimeException(e);
        } catch (IOException e) {
            throw new RuntimeException(e);
        }
    }
}
